﻿using System.Diagnostics.Contracts;

namespace O1.Kernel.IO.Storage
{
    [ContractVerification(true)]
    internal class CellTask : StorageTask
    {
        public readonly byte[] Cell;

        public CellTask(TransactionToken token, byte[] cell, DmlOperation operation)
            : base(token, operation)
        {
            Contract.Requires(token != null);

            this.Cell = cell;
        }
    }
}
